<%@ page language="java" pageEncoding="utf-8"%>
<%@ page import="packaging.*"%>
<%@ page language="java" import="java.sql.*"%>

<html>
	<body>
		<%
			request.setCharacterEncoding("utf-8");	
			String id = request.getParameter("id");
			String sql = "select * from imp where p_id=" + id;
			check check=new check();
			ResultSet rs=check.indexs(sql);
		%>

		<%
			if (rs.next()) {
		%>
		
				<p>产品图片：<img  src="<%=rs.getString("p_imge") %>" width="120"/></p>
			
				<p>产品编号：<%=rs.getObject("p_id")%></p>
			
				<p>产品名称：<%=rs.getObject("p_name")%></p>
			
				<p>产品原价：<%=rs.getObject("p_oldprice")%></p>
			
				<p>产品现价：<%=rs.getObject("p_newprice")%></p>
			
				<a href="index.jsp">返回</a>
			
		<%
			}
		%>
		

	</body>

</html>






